package com.ternnetwork.configuration.service.persistence;

import com.ternnetwork.commons.model.http.BaseResponse;
import com.ternnetwork.configuration.entity.persistence.Seq;
import com.ternnetwork.persistence.page.Page;

public interface SeqService {
	
	public BaseResponse idoAdd(Seq t);
	
	public BaseResponse idoUpdate(Seq t);
	
	public BaseResponse idoDeleteById(Long id);
	
	public Page<Seq> query(Seq t,Page page);
	
	public String idoGetNextValueBySeqName(String name);
	
	public String queryToJsonStr(Seq t,Page page);
}
